/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DBLayer;
import ModelLayer.*;
import java.util.ArrayList;
/**
 *
 * @author Stefan
 */
public interface IFDBInvoice {
    // get all invoices
    public ArrayList<Invoice> getAllInvoices(boolean retriveAssociation);
    //get one Invoice having the ID
    public Invoice findInvoice(int id, boolean retriveAssociation);
    //insert a new Invoice
    public int insertInvoice(Invoice invoice);
    //update information about a Invoice
    public int updateInvoice(Invoice invoice);
    //delete information about a Invoice
    public int deleteInvoice(int id);
}
